import { createApp } from 'vue'
import { Lazyload } from 'vant'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'
import 'normalize.css'
import './assets/css/base.scss'

const app = createApp(App)
const pinia = createPinia()
app.use(Lazyload, {
  lazyComponent: true
})
pinia.use(piniaPluginPersistedstate)
app.use(pinia)
app.use(router)
app.mount('#app')
